package com.h117121.fashionshop.validator;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

import com.h117121.fashionshop.core.dom.DepositCard;

public class DepositValidator implements Validator {

	@SuppressWarnings("rawtypes")
	@Override
	public boolean supports(Class clazz) {
		return DepositCard.class.isAssignableFrom(clazz);
	}

	@Override
	public void validate(Object target, Errors errors) {

	}

}
